Export with WEXP - revision mark

Hi all WEXP experts,

We use :

  • DOORS 9.1
  • WORD 2003
  • WEXP version ?? (2009 ?)

In a documentation i have read :
"You can ask the exporter to place revision marks in the Word document on every exported attribute that has changed since the baseline selected ...."

In our configuration, only "Object Text" and "Object Heading" have revision marks, not others.

Do you know a solution ?
As scripts are encrypted i can't modify.

Pierre
PDU - Thu May 05 13:11:44 EDT 2011

Re: Export with WEXP - revision mark
Mathias Mamsch - Thu May 05 17:31:37 EDT 2011

If you got an encrypted version of WEXP then you are out of luck. WEXP has the changebars hardcoded to contain only object heading and text. I know for sure because I already implemented extended changebars (for all columns of the view, including layout DXL) for a free WEXP version for a customer.

I guess you would need to switch to the free (unencrypted) WEXP version floating around the net. And then make a similar change. If you want I can help you with it.

Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Export with WEXP - revision mark
PDU - Fri May 06 02:55:28 EDT 2011

Mathias Mamsch - Thu May 05 17:31:37 EDT 2011
If you got an encrypted version of WEXP then you are out of luck. WEXP has the changebars hardcoded to contain only object heading and text. I know for sure because I already implemented extended changebars (for all columns of the view, including layout DXL) for a free WEXP version for a customer.

I guess you would need to switch to the free (unencrypted) WEXP version floating around the net. And then make a similar change. If you want I can help you with it.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Hi,

i see four files unencrypted :
  • filterfun.inc
  • itfutil.inc
  • usercallouts.inc
  • userdefs.inc

I try change in usercallouts.inc function usercallout_processChanges() (return true), but no changebars for others attributs.

Is these unecrypted files sufficient or i need others ?
(at this time, my sonar don't find free WEXP)

Thanks
Pierre

Re: Export with WEXP - revision mark
Mathias Mamsch - Fri May 06 04:53:28 EDT 2011

PDU - Fri May 06 02:55:28 EDT 2011
Hi,

i see four files unencrypted :

  • filterfun.inc
  • itfutil.inc
  • usercallouts.inc
  • userdefs.inc

I try change in usercallouts.inc function usercallout_processChanges() (return true), but no changebars for others attributs.

Is these unecrypted files sufficient or i need others ?
(at this time, my sonar don't find free WEXP)

Thanks
Pierre

Hmm ... Maybe you could use 'UserCallouts' for doing the changebars ...

You could use the 'void processColumnCell(Column c, Object o, Buffer attrValue)' function to turn revision marks on or off. To turn on revision marks use the 'WEXP_turnOnRevisionMarks()' function. To turn them off you can use: 'WEXP_stopRevisionMarks(null Object)'.

Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Export with WEXP - revision mark
Mathias Mamsch - Fri May 06 04:57:04 EDT 2011

PDU - Fri May 06 02:55:28 EDT 2011
Hi,

i see four files unencrypted :

  • filterfun.inc
  • itfutil.inc
  • usercallouts.inc
  • userdefs.inc

I try change in usercallouts.inc function usercallout_processChanges() (return true), but no changebars for others attributs.

Is these unecrypted files sufficient or i need others ?
(at this time, my sonar don't find free WEXP)

Thanks
Pierre

By the way, you seem to have a later version of WEXP than the free WEXP... I don't even have the usercallout_processChanges() function in my version of WEXP... Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Export with WEXP - revision mark
PDU - Fri May 06 06:03:00 EDT 2011

Mathias Mamsch - Fri May 06 04:57:04 EDT 2011
By the way, you seem to have a later version of WEXP than the free WEXP... I don't even have the usercallout_processChanges() function in my version of WEXP... Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

hi,

i check with a print,
i never go inside this function ... :-(
 

/* 
Here is a function that allow to replace the default algorithm finding out if the attribute of an object has changed.
*/
bool usercallout_processChanges(string attr)
{ 
    // the returned value indicates which function shall be used to find out if an object has changed when generating revision marks
    //      return false to use the default function/algorithm
    //      return true  to use the function "usercallout_hasChanged"
print "usercallout_processChanges   "  attr "\n"            
    return true
}


Regards,
Pierre

Re: Export with WEXP - revision mark
Mathias Mamsch - Fri May 06 08:55:50 EDT 2011

PDU - Fri May 06 06:03:00 EDT 2011

hi,

i check with a print,
i never go inside this function ... :-(
 

/* 
Here is a function that allow to replace the default algorithm finding out if the attribute of an object has changed.
*/
bool usercallout_processChanges(string attr)
{ 
    // the returned value indicates which function shall be used to find out if an object has changed when generating revision marks
    //      return false to use the default function/algorithm
    //      return true  to use the function "usercallout_hasChanged"
print "usercallout_processChanges   "  attr "\n"            
    return true
}


Regards,
Pierre

Did you actually start an export with activated Change Bars? And did you have any attributes in there or only layout DXL and main column? Maybe you try with the other column callback function. Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS